﻿/*
using System;
using System.Collections.Generic;
using System.Linq;
using Orchard.Core.Common.Models;
using Orchard.Events;
using Orchard.Messaging.Events;
using Orchard.Messaging.Models;
using Orchard.Messaging.Services;
using Orchard.ContentManagement;
using Orchard.Localization;
using Orchard.Security;
using Orchard;

namespace Coevery.Tasacion.Rules {

    public interface IActionProvider : IEventHandler {
        void Describe(dynamic describe);
    }

    public class SearchInfoActions : IActionProvider {
        private readonly IMessageManager _messageManager;
        private readonly IOrchardServices _orchardServices;
        private readonly IMembershipService _membershipService;
        public const string MessageType = "SearchInfo";

        public SearchInfoActions(
            IMessageManager messageManager,
            IOrchardServices orchardServices,
            IMembershipService membershipService) {
            _messageManager = messageManager;
            _orchardServices = orchardServices;
            _membershipService = membershipService;
            T = NullLocalizer.Instance;
        }

        public Localizer T { get; set; }

        public void Describe(dynamic describe) {
            Func<dynamic, LocalizedString> display = context => T("Search Testigos");

            describe.For("Messaging", T("Messaging"), T("Messages"))
                .Element(
                    "SearchInfo", T("Search Testigos en Idealista"), T("Search Testigos en Idealista."), (Func<dynamic, bool>)Search,
                    display, "SearchInfo");
        }

        private bool Search(dynamic context)
        {
            
            return true;
        }
   }
}
*/